using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace CodePlex.SpaceBlock.UI.Controls
{
    public partial class WhatsNewForm : CodePlex.SpaceBlock.UI.Controls.BaseForm
    {
        public WhatsNewForm()
        {
            InitializeComponent();


            _captionBox.Text = "New in Release " + UIConstants.ApplicationFileVersion;
            _browserBox.Navigate(UIConstants.Urls.WhatsNewUrl);

            this.Icon = UIManager.Instance.GetIcon(UIConstants.ImageHints.SpaceBlock);
            this.StartPosition = FormStartPosition.CenterScreen;
        }

        private void _visitLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start(UIConstants.Urls.WhatsNewUrl);
        }
    }
}

